/*
* @Author: wanghongfucoder
* @Date:   2017-04-11 10:58:01
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-11 11:03:26
*/


public  class FilterManager {
	
	FilterChain filterChain;

	public FilterManager(Target target){
		filterChain=new FilterChain();
		filterChain.setTarget(target);
	}

	public void setFilter(Filter filter){
		filterChain.addFilter(filter);
	}

	public void filterRequest(String request){
		filterChain.execute(request);
	}
}